function formhash(b, a) {
    var c = document.createElement("input");
    b.appendChild(c);
    c.name = "password";
    c.type = "hidden";
    c.value = sha512(a.value);
    a.value = "";
    b.submit()
}
